//简单输出贴图颜色的像素着色器

//顶点着色器输出
struct VS_OUTPUT
{
    float4 Pos : SV_POSITION;
    float3 Normal : NORMAL;
	float2 TexCoord : TEXCOORD0;
};

Texture2D ourTexture : register( t9 );
SamplerState ourSampler : register( s5 );

float4 Main( VS_OUTPUT input ) : SV_Target
{
	return float4( normalize(input.Normal)/2+float3(0.5,0.5,0.5),1.0 );
}
